package com.ruoyi.project.lesson.lessoncode.service;

import com.ruoyi.project.lesson.lessoncode.domain.LessonActivationCode;

import java.util.List;

/**
 * 课程激活码Service接口
 *
 * @author shixiangwen
 * @date 2021-04-20
 */
public interface ILessonActivationCodeService {
    /**
     * 查询课程激活码
     *
     * @param id 课程激活码ID
     * @return 课程激活码
     */
    public LessonActivationCode selectLessonActivationCodeById(Long id);

    /**
     * 查询课程激活码列表
     *
     * @param lessonActivationCode 课程激活码
     * @return 课程激活码集合
     */
    public List<LessonActivationCode> selectLessonActivationCodeList(LessonActivationCode lessonActivationCode);

    /**
     * 新增课程激活码
     *
     * @param lessonActivationCode 课程激活码
     * @return 结果
     */
    public int insertLessonActivationCode(LessonActivationCode lessonActivationCode);

    /**
     * 修改课程激活码
     *
     * @param lessonActivationCode 课程激活码
     * @return 结果
     */
    public int updateLessonActivationCode(LessonActivationCode lessonActivationCode);

    /**
     * 批量删除课程激活码
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteLessonActivationCodeByIds(String ids);

    /**
     * 删除课程激活码信息
     *
     * @param id 课程激活码ID
     * @return 结果
     */
    public int deleteLessonActivationCodeById(Long id);
}
